package com.vayne.dao;

import com.vayne.bean.Course;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.ObjectFactory;

import java.util.Collection;

/**
 * @author xuerui.zhang
 * @since 2020/1/6 下午6:42
 */
public class CourseDao {

    private Collection<Course> courses;

    private BeanFactory beanFactory;

    private ObjectFactory<Course> objectFactory;

    public Collection<Course> getCourses() {
        return courses;
    }

    public void setCourses(Collection<Course> courses) {
        this.courses = courses;
    }

    public BeanFactory getBeanFactory() {
        return beanFactory;
    }

    public void setBeanFactory(BeanFactory beanFactory) {
        this.beanFactory = beanFactory;
    }

    public ObjectFactory<Course> getObjectFactory() {
        return objectFactory;
    }

    public void setObjectFactory(ObjectFactory<Course> objectFactory) {
        this.objectFactory = objectFactory;
    }
}
